package com.test.project.system.fenpei.domain;

import com.test.framework.aspectj.lang.annotation.Excel;
import com.test.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工种分配对象 t_fenpei
 * @author xhtstart
 * @create 2022-09-10 20:38
 */
public class TFenpei extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public TFenpei(Long id, String name, String type) {
        this.id = id;
        this.name = name;
        this.type = type;
    }

    public TFenpei() {
    }

    /** ID */
    private  Long id;

    /** Root字段*/
    @Excel(name = "Root字段")
    private  String name;

    /** 工种*/
    @Excel(name = "工种")
    private  String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("type", getType())
                .toString();
    }
}
